#include <bits/stdc++.h>

using namespace std;

int main() {
    int n;
    cin >> n;

    int i = 2;
    while (i <= n) {
        cout << i << endl;
        i += 2;
    }

    return 0;
}
